//---Standard Vehicle Config for Flans Mod--------
//Created by Minecraft-SMP Toolbox 2.3.0.0


//---Standard-------------------------------------
// Naming
Name Leopard 2A7
ShortName leopard2a7T_
ItemID Your ID

Description Like The Leopard 2A6 But More Expensive



SetPlayerInvisible false
// Visuals
Model vehicles.leopard2a7
ModelScale 1
Icon Icon_Vehicle_leopard2a7


//Recipe
AddRecipeParts core 1 tanktracksT_
AddDye 10 gray


//Misc

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Model vehicles.leopard2a7
Texture Skin_Vehicle_leopard2a7


//Movement
MaxThrottle 1.6
MaxNegativeThrottle 0.6
Drag 15.0


//Wheels
NumWheels 4
WheelPosition 0 -35 -10 -20
WheelPosition 1 -35 -10 22
WheelPosition 2 34 -10 21
WheelPosition 3 34 -10 -21
WheelRadius 1.5
WheelSpringStrength 0.5


//Floating


//Ammo
AllowAllAmmo False


//Weapons
AllowAllAmmo False
AddAmmo dm53shellT_
AddAmmo dm12shellT_
BarrelPosition 131 26 0
ShootDelay 1
ShellDelay 60
TurretOrigin 0 0 0
BulletSpeed 9


//Driver and Passengers
Driver 0 34 0 -360 360 -8 20
RotatedDriverOffset -8 0 13
Passengers 1
Passenger 1 0 35 0 turret -360 360 -15 45 m2remote PassengerGun1
GunOrigin 1 -23 38 -5
RotatedPassengerOffset 1 -8 0 -12
DriverPart turret

//Inventory Slots
CargoSlots 5
ShellSlots 2
FuelTankSize 2000







//Health and Collision
SetupPart core 8000 -85 -10 -35 152 34 70
SetupPart turret 8000 -55 23 -26 89 16 52
BulletDetection 7
RecoilDistance 5
RecoilTime 5
IsExplosionWhenDestroyed true
CollisionDamageEnable true
CollisionDamageThrottle 0.21
CollisionDamageTimes 0
CanRoll true

//Misc
CameraDistance 9.5


//Sounds
StartSound EngineBigtenk
StartSoundLength 20
EngineSound EngineBigtenk
EngineSoundLength 20
ShootSoundPrimary TankBigShell
ShootSoundSecondary 545Shoot

//------------------------------------------------

//---Vehicle--------------------------------------
//Visuals
RotateWheels True

SquashMobs True


//Movement
TurnLeftSpeed 0.7
TurnRightSpeed 0.7
FourWheelDrive True


//Misc
Tank True
ShootDelay 1
ShellDelay 70

//Turret rotation stuff
DriverAimSpeed 3.9 3.9 3.9
DriverYawBeforePitch true
DriverTraverseSounds true
YawSound TurretTraverse1
YawSoundLength 21
PitchSound TurretTraverse2
PitchSoundLength 20


//Sound


AddSmokePoint [-21,34,27] [1,0.75,-0.05] 20 turret
AddSmokePoint [-23,34,27] [0.7,0.75,-0.3] 20 turret
AddSmokePoint [-25,34,27] [0.5,0.75,-0.5] 20 turret
AddSmokePoint [-21,34,-27] [1,0.75,0.05] 20 turret
AddSmokePoint [-23,34,27] [0.7,0.75,0.3] 20 turret
AddSmokePoint [-25,34,-27] [0.5,0.75,0.5] 20 turret
HasFlare true

//Barrel
ShootParticlesSecondary crit 0.5 0 0
BarrelPosition 115 30 0.5

ShootParticlesPrimary largeexplode 0 0 0
ShootParticlesPrimary explode 1.5 0 0
ShootParticlesPrimary largesmoke 0.5 0 0.1
ShootParticlesPrimary largesmoke 0.5 0 -0.1
ShootParticlesPrimary largesmoke 0.5 0.06 0.06
ShootParticlesPrimary largesmoke 0.5 0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 0.06
ShootParticlesPrimary largesmoke 0.5 -0.06 -0.06
ShootParticlesPrimary largesmoke 0.5 -0.1 0
ShootParticlesPrimary largesmoke 0.5 0.1 0
ShootParticlesPrimary cloud 0.05 0 0.2
ShootParticlesPrimary cloud 0.05 0 -0.2
ShootParticlesPrimary cloud 0.05 0.13 0.13
ShootParticlesPrimary cloud 0.05 0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.13 0.13
ShootParticlesPrimary cloud 0.05 -0.13 -0.13
ShootParticlesPrimary cloud 0.05 -0.2 0
ShootParticlesPrimary cloud 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 1 0 0
ShootParticlesPrimary flansmod.fmflame 1.75 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 1.25 0 0
ShootParticlesPrimary flansmod.fmflame 0.75 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.25 0 0
ShootParticlesPrimary flansmod.fmflame 1.5 0 0
ShootParticlesPrimary flansmod.fmflame 0.5 0 0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0 -0.1
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.06 -0.06
ShootParticlesPrimary flansmod.fmflame 0.5 -0.1 0
ShootParticlesPrimary flansmod.fmflame 0.5 0.1 0
ShootParticlesPrimary flansmod.fmflame 0.05 0 0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0 -0.2
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.13 -0.13
ShootParticlesPrimary flansmod.fmflame 0.05 -0.2 0
ShootParticlesPrimary flansmod.fmflame 0.05 0.2 0
ShootParticlesPrimary flansmod.fmflame 0.1 0 0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0 -0.4
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.26 -0.26
ShootParticlesPrimary flansmod.fmflame 0.1 -0.4 0
ShootParticlesPrimary flansmod.fmflame 0.1 0.4 0


//Basic emission
AddEmitter smoke 1 [-81,4,-12] [1,1,1] [0,0.5,0] -1 1 0 1 core

AddEmitter smoke 1 [-81,4,12] [1,1,1] [0,0.5,0] -1 1 0 1 core


//1st gear change

AddEmitter largesmoke 1 [-81,4,12] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

AddEmitter largesmoke 1 [-81,4,-12] [1,1,1] [0,1.5,0] 0.02 0.07 0 1 core

//1st gear

AddEmitter explode 1 [-81,4,12] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

AddEmitter explode 1 [-81,4,-12] [1,1,1] [0,0.2,0] 0.05 0.2 0 1 core

//2nd gear change

AddEmitter largesmoke 1 [-81,4,12] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

AddEmitter largesmoke 1 [-81,4,-12] [1,1,1] [0,3,0] 0.2 0.25 0 1 core

//2nd gear

AddEmitter explode 1 [-81,4,12] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core

AddEmitter explode 1 [-81,4,-12] [1,1,1] [0,0.7,0] 0.2 0.5 0 1 core


//3rd gear change

AddEmitter largesmoke 1 [-81,4,12] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter largesmoke 1 [-81,4,-12] [1,1,1] [0,4,0] 0.5 0.52 0 1 core

AddEmitter flame 1 [-81,4,12] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

AddEmitter flame 1 [-81,4,-12] [1,1,1] [0,2,0] 0.5 0.51 0 1 core

//3rd gear
AddEmitter explode 1 [-81,4,12] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter explode 1 [-81,4,-12] [1,1,1] [0,0.7,0] 0.5 2 0 1 core

AddEmitter largesmoke 3 [-81,4,12] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

AddEmitter largesmoke 3 [-81,4,-12] [1,1,1] [0,0.5,0] 0.8 2 0 1 core

//4th gear change

AddEmitter largesmoke 1 [-81,4,12] [1,1,1] [0,5,0] 0.7 0.75 0 1 core

AddEmitter largesmoke 1 [-81,4,-12] [1,1,1] [0,5,0] 0.7 0.77 0 1 core

AddEmitter flame 1 [-81,4,12] [1,1,1] [0,5,0] 0.7 0.73 0 1 core

AddEmitter flame 1 [-81,4,-12] [1,1,1] [0,5,0] 0.7 0.73 0 1 core



//dodgy one
RightLinkPoint [58,12,-28.5]
RightLinkPoint [61,8.5,-28.5]
RightLinkPoint [61,5.5,-28.5]
RightLinkPoint [58,2,-28.5]
RightLinkPoint [42,-9,-28.5]
RightLinkPoint [-63,-9,-28.5]
RightLinkPoint [-76,0,-28.5]
RightLinkPoint [-80,5,-28.5]
RightLinkPoint [-80,9,-28.5]
RightLinkPoint [-76,14,-28.5]
RightLinkPoint [-70,14,-28.5]
RightLinkPoint [-54,12,-28.5]
RightLinkPoint [58,12,-28.5]
LeftLinkPoint [58,12,28.5]
LeftLinkPoint [61,8.5,28.5]
LeftLinkPoint [61,5.5,28.5]
LeftLinkPoint [58,2,28.5]
LeftLinkPoint [42,-9,28.5]
LeftLinkPoint [-63,-9,28.5]
LeftLinkPoint [-76,0,28.5]
LeftLinkPoint [-80,5,28.5]
LeftLinkPoint [-80,9,28.5]
LeftLinkPoint [-76,14,28.5]
LeftLinkPoint [-70,14,28.5]
LeftLinkPoint [-54,12,28.5]
LeftLinkPoint [58,12,28.5]
TrackLinkLength 5
FlipLinkFix true
//------------------------------------------------